package edu.pku.taas.hyperic.types2;

import java.util.List;

import edu.pku.taas.hyperic.monitor.MonitorConstants;
public class VirtualMachine {
	protected int id=-1;
	protected String uuid;
	protected String name;
	protected String description;
	protected String ip;
	protected int resourcePrototypeId = -1;
	protected String resourcePrototypeName ;
	
	private int type=10;
	
	protected List<MonitorableResource> monitorableResources;
	public  final int resourceType = MonitorConstants.RESOURCE_VIRTUAL_MACHINE_TYPE;
	

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public VirtualMachine() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public List<MonitorableResource> getMonitorableResources() {
		return monitorableResources;
	}

	public void setMonitorableResources(List<MonitorableResource> resources) {
		this.monitorableResources = resources;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public int getResourcePrototypeId() {
		return resourcePrototypeId;
	}

	public void setResourcePrototypeId(int resourcePrototypeId) {
		this.resourcePrototypeId = resourcePrototypeId;
	}

	public String getResourcePrototypeName() {
		return resourcePrototypeName;
	}

	public void setResourcePrototypeName(String resourcePrototypeName) {
		this.resourcePrototypeName = resourcePrototypeName;
	}

	public  int getResourcetype() {
		return resourceType;
	}
	
	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

}
